package com.yakumosakura.yakumoblade.client;

import com.yakumosakura.yakumoblade.registry.slashblade.YAEntitiesRegistry;
import mods.flammpfeil.slashblade.client.renderer.entity.JudgementCutRenderer;
import mods.flammpfeil.slashblade.client.renderer.entity.SummonedSwordRenderer;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.client.event.EntityRenderersEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;
import com.yakumosakura.yakumoblade.client.renderer.*;
import com.yakumosakura.yakumoblade.client.renderer.touhou.*;
import com.yakumosakura.yakumoblade.client.renderer.hexgram.*;
import com.yakumosakura.yakumoblade.client.renderer.effect.*;
@Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD, value = Dist.CLIENT)
public class YakumoBladeCilent {
    //客户端渲染
    @SubscribeEvent
    public static void registerEntityRenderers(EntityRenderersEvent.RegisterRenderers event) {
        event.registerEntityRenderer(YAEntitiesRegistry.wither_attack, SummonedSwordRenderer::new);
        event.registerEntityRenderer(YAEntitiesRegistry.soul_edge, SummonedSwordRenderer::new);
        event.registerEntityRenderer(YAEntitiesRegistry.wither_summon_sword, SummonedSwordRenderer::new);
        event.registerEntityRenderer(YAEntitiesRegistry.SoulEdgeB, FlyRender::new);
        event.registerEntityRenderer(YAEntitiesRegistry.BlackSlash, BlackSlashRender::new);
        event.registerEntityRenderer(YAEntitiesRegistry.GigantjudgementCuts, JudgementCutRenderer::new);
        event.registerEntityRenderer(YAEntitiesRegistry.BigDrive, BigDriveRenderer::new);
        event.registerEntityRenderer(YAEntitiesRegistry.StarDrive, StarDriveRender::new);
        event.registerEntityRenderer(YAEntitiesRegistry.EntityNRBlisteringsword, BlueFoxRenderer::new);

        event.registerEntityRenderer(YAEntitiesRegistry.SumonSwordentityFox, FoxFlowerSuperRender::new);
        event.registerEntityRenderer(YAEntitiesRegistry.swordRainEntity, FoxFlowerRender::new);
        event.registerEntityRenderer(YAEntitiesRegistry.swordRainEntityDragon, FoxFlowerRender::new);
        event.registerEntityRenderer(YAEntitiesRegistry.SummonSword, SummonedSwordRenderer::new);
        event.registerEntityRenderer(YAEntitiesRegistry.BlueFox, BlueFoxRenderer::new);
        event.registerEntityRenderer(YAEntitiesRegistry.HexGramSumonSword, SummonedSwordRenderer::new);
        event.registerEntityRenderer(YAEntitiesRegistry.YuYuKoSpiralSwords, FlyRender::new);

        event.registerEntityRenderer(YAEntitiesRegistry.FoxHexGramEx, FoxHexGramExRender::new);
        event.registerEntityRenderer(YAEntitiesRegistry.Yukari, YukariRender::new);
        event.registerEntityRenderer(YAEntitiesRegistry.DragonHexGramEntitys, DragonHexGramRender::new);
        event.registerEntityRenderer(YAEntitiesRegistry.LaserCircle, LaserCircleRender::new);
        event.registerEntityRenderer(YAEntitiesRegistry.StarRider, StarRideRender::new);
    }
}